AlignScreenRect
TheAlignScreenRect
function aligns a specified rectangle to the strictest screen that the rectangle intersects.
pascal void AlignScreenRect (Rect *rp, AlignmentProcRecordPtr alignmentProc);
rp
- Contains a pointer to a rectangle defined in global screen coordinates.
alignmentProc
Points to your own alignment behavior function. Set this parameter tonil
to use the standard behavior. Your alignment function must be in the following form:
- pascal void MyAlignmentProc (Rect *rp, long refCon);
See "Alignment Functions" on page 3-149 for details.DESCRIPTION
Normally, theAlignScreenRect
function is not called directly.